{extend name="property/public/insidePageBase" /}
{block name="title"}添加房间标签{/block}
{block name="body"}
<div class="layuimini-container">
    <div class="layuimini-main">
        <form class="layui-form  layui-form-pane">
            <div class="layui-row">
                <div class="layui-col-xs6">
                    <div class="layui-form-item">
                        <label class="layui-form-label indispensable">用户手机号</label>
                        <div class="layui-input-block">
                            <input type="text" name="mobile"  placeholder="请输入"  class="layui-input">
                        </div>
                    </div>
                </div>
                <div class="layui-col-xs6">
                    <div class="layui-form-item">
                        <label class="layui-form-label indispensable">房 源 编 号</label>
                        <div class="layui-input-block">
                            <input type="text" name="housing_id"  placeholder="请输入" class="layui-input">
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-row">
                <div class="layui-col-xs6">
                    <div class="layui-form-item">
                        <label class="layui-form-label indispensable">预 约 日 期</label>
                        <div class="layui-input-block">
                            <input type="text" name="hope_date" placeholder="请选择预约日期"  class="layui-input laydate-type-day">
                        </div>
                    </div>
                </div>
                <div class="layui-col-xs6">
                    <div class="layui-form-item">
                        <label class="layui-form-label indispensable">预 约 时 间</label>
                        <div class="layui-input-block">
                            <input type="text" name="hope_time" placeholder="请选择预约时间" class="layui-input laydate-type-time">
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-form-item layui-form-text">
                <label class="layui-form-label">备注说明</label>
                <div class="layui-input-block">
                    <textarea id="content" name="remark" placeholder="请输入备注说明" class="layui-textarea"></textarea>
                </div>
            </div>
            <div class="layui-form-item layui-hide">
                <button class="layui-btn" type="button" lay-submit lay-filter="submitBtn" id="submitBtn">提交</button>
            </div>
        </form>
    </div>
</div>
{/block}
{block name="js"}
{__block__}
<script>
    layui.use([ 'form','laydate'], function () {
        var form = layui.form,$ = layui.$, laydate = layui.laydate;
        laydate.render({
            elem: '.laydate-type-day'
            ,format: 'yyyy-MM-dd'
            ,min: 0
            ,max: 30
        });
        laydate.render({
            elem: '.laydate-type-time',
            type: 'time',
            range: true,
            min: '09:00:00',
            max: '22:00:00',
            format: 'HH:mm',
            btns: ['clear', 'confirm']
        });
    });
</script>
{/block}